package org.springmvc.util;

import java.io.Serializable;

/**
 * 数据返回
 * 
 * @author 唐家林
 * @time 2014年10月4日
 */
public class MsgResponse implements Serializable {
	private static final long serialVersionUID = -4714259069678234112L;

	private boolean status;

	private String code;

	private String msg;

	public boolean isStatus() {
		return status;
	}

	public MsgResponse setStatus(boolean status) {
		this.status = status;
		return this;
	}

	public String getCode() {
		return code;
	}

	public MsgResponse setCode(String code) {
		this.code = code;
		return this;
	}

	public String getMsg() {
		return msg;
	}

	public MsgResponse setMsg(String msg) {
		this.msg = msg;
		return this;
	}
}
